package com.tiancheng.trade.settlement.model.settlement;

import com.baomidou.mybatisplus.annotation.TableName;
import com.tiancheng.trade.settlement.model.base.BaseEntity;
import lombok.Data;

import java.time.LocalDate;

/**
 * 清分情况
 */
@Data
@TableName("settlement_situation")
public class SettlementSituation extends BaseEntity {

    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;

    private String merchantCode; //商户编号
    private String merchantName; //商户名称
    private String productCode; //商品编号
    private String productName; //商品名称
    private String orderSource; //业务类型1-酒店，2-机票，3-门票，4-精品路线，5-汽车票，6-自由行，7交通，8-包车
    private String period; //周期
    private Integer clearAmount; //清分金额
    private Integer merchantAmount; //商户部分
    private Integer tengyunAmount; //腾云部分
    private Integer serviceCharge; //手续费
    private Integer tengyunReceivable; //腾云应收
    private Integer tengyunActualEntry; //腾云实际入账金额
    private Integer merchantActualEntry;//商户实际入账金额
    private Integer tengyunDifference; //腾云差额
    private Integer merchantDifference;//商户差额
    private LocalDate reportGenerationDate;//报表生成日期

}
